package com.pokerbean.housingremind.common.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * created by IntelliJ IDEA
 *
 * @author: pokerbean
 * @e-mail: brutalmraz@gmail.com
 * @time: 2018/5/6 10:20
 * @desc: AliyunSmsConfig
 */
@ConfigurationProperties("aliyun-sms")
@Component
@Slf4j
public class AliyunSmsConfig {

    public static String smsProduct;
    public static String smsDomain;
    public static String smsAccessKeyId;
    public static String smsAccessKeySecret;
    public static String smsSign;
    public static String smsTemplateCode;
    public static String smsStatus;
    public static String smsConnTimeOut;
    public static String smsReadTimeOut;
    public final static String REQUEST_OK="OK";
    public final static String QUERY_OK="OK";
    public String getSmsProduct() {
        return smsProduct;
    }

    public void setSmsProduct(String smsProduct) {
        this.smsProduct = smsProduct;
    }

    public String getSmsDomain() {
        return smsDomain;
    }

    public void setSmsDomain(String smsDomain) {
        this.smsDomain = smsDomain;
    }

    public String getSmsAccessKeyId() {
        return smsAccessKeyId;
    }

    public void setSmsAccessKeyId(String smsAccessKeyId) {
        this.smsAccessKeyId = smsAccessKeyId;
    }

    public String getSmsAccessKeySecret() {
        return smsAccessKeySecret;
    }

    public void setSmsAccessKeySecret(String smsAccessKeySecret) {
        this.smsAccessKeySecret = smsAccessKeySecret;
    }

    public String getSmsSign() {
        return smsSign;
    }

    public void setSmsSign(String smsSign) {
        this.smsSign = smsSign;
    }

    public String getSmsTemplateCode() {
        return smsTemplateCode;
    }

    public void setSmsTemplateCode(String smsTemplateCode) {
        this.smsTemplateCode = smsTemplateCode;
    }

    public String getSmsStatus() {
        return smsStatus;
    }

    public void setSmsStatus(String smsStatus) {
        this.smsStatus = smsStatus;
    }

    public String getSmsConnTimeOut() {
        return smsConnTimeOut;
    }

    public void setSmsConnTimeOut(String smsConnTimeOut) {
        this.smsConnTimeOut = smsConnTimeOut;
    }

    public String getSmsReadTimeOut() {
        return smsReadTimeOut;
    }

    public void setSmsReadTimeOut(String smsReadTimeOut) {
        this.smsReadTimeOut = smsReadTimeOut;
    }
}
